#pragma once

#include <QDialog>
#include "ui_UDPDlg.h"
#include "BaseDlg.h"

class UDPDlg : public BaseDlg
{
	Q_OBJECT

public:
	UDPDlg(QWidget *parent = Q_NULLPTR);
	~UDPDlg();
	bool get_info(ChannelCreateInfo& info)override;
//signals:
//	void sigDisConnect(const ConnInfo& preInfo, const ConnInfo& info);
//	void sigConnInfo(const ConnInfo& curInfo, const ConnInfo& preInfo, bool bNew);
//
//private slots:
//	void slotApply();
//	void slotModify();
//	void slotAdd();

private:

	enum col_
	{
		col_dataType,
		col_IP,
		col_Port,
		col_Delete,
		col_cnt
	};
	Ui::UDPDlg ui;
	/*ConnInfo m_stConnInfo;*/
	/*bool m_bNewConnInfo;*/
};
